﻿unit VolSchetFrm;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, JvExControls, JvXPCore, JvXPButtons, StdCtrls, ExtCtrls, Mask,
  JvExMask, JvToolEdit, JvBaseEdits;

type
  TVolSchetForm = class(TForm)
    Panel1: TPanel;
    Label1: TLabel;
    OK: TJvXPButton;
    JvXPButton2: TJvXPButton;
    Schet: TJvCalcEdit;
    procedure FormKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  VolSchetForm: TVolSchetForm;

implementation

{$R *.dfm}

procedure TVolSchetForm.FormKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
begin
 case Key of
  VK_RETURN: ModalResult:=mrOk;
 end;
end;

end.
